<?php
/**
* Widgets_Demo_Main
*
* 演示的插件
*
* PHP version 5
*
* @category mvc
* @package  Widgets
* @filesource
* @author       liuran <ebow@21cn.com>
* @copyright    Copyright 2005-2008, Liuran.
* @license      http://www.php.net/license/3_01.txt     PHP License 3.0
* @version      CVS:$Id$
* @link         
*/

 
class Widgets_Demo_Main  implements Widgets_Base {

    function __construct( $id = null ) {

        parent::__construct( $id); 
    }


    function render($widgetId, $preview=false){
	 
        if ($preview) {
         return "<br> helo ,in preview";
        }else{
        return "<br>Hellow Im Demo";
        }
	}


}


?>